﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Events;
using Prism.Mvvm;
using SoonCode.FocusTest.Models;

namespace SoonCode.FocusTest.Events
{
    //显示弹出消息
    class ShowMessageEvent : PubSubEvent<EventInfo>;
    //学生按了空格键
    class SpaceKeyPressEvent : PubSubEvent;

    //登录成功
     class LoginEvent:PubSubEvent<UserInfo>{}
    //打开开始评测选择界面
    class OpenTestEvent : PubSubEvent;

    //准备测试
    class PrepareTestEvent : PubSubEvent;

    //关闭评测开始界面
    class CloseTestEvent : PubSubEvent;

     //开始评测
     class StartTestEvent : PubSubEvent;

    //结束评测
    class EndTestEvent : PubSubEvent;
    //改变评测评测
    class ChangeTestEvent : PubSubEvent<int>;
     //加载评测页面
     class TestLoadEvent : PubSubEvent<int>;
     //学生答题
     class StudentAnswerEvent : PubSubEvent<EventInfo>;
    //评测关数更改
    class LevelUpdateEvent : PubSubEvent<EventInfo>;
    //评测问题改变
    class QuestionChangeEvent : PubSubEvent<EventInfo>;
    //提示评测结果
    class SubmitTestResultEvent : PubSubEvent;
     //打印评测结果
     class PrintTestResultEvent : PubSubEvent<EventInfo>;
     // 打开学生全屏界面
     class OpenStudentFullScreenEvent : PubSubEvent<String>;
     //关闭学生全屏测试界面
     class CloseStudentFullScreenEvent : PubSubEvent;
    //学生开始一项测试
     class StudentStartTestEvent : PubSubEvent<EventInfo>;
    //应用程序更新
     class AppUpgradeEvent : PubSubEvent<EventInfo>;

     class UpgradeProgressEvent : PubSubEvent<int>;
     //关闭窗口
     class CloseWindowEvent : PubSubEvent<EventInfo>;
}
    